package cate.game.role.show.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBBlog;
import cate.game.role.Role;
import cate.game.role.show.RoleShow;
import easy.java.dev.note.NoteField;


@ClientMsg(title = "玩家饰品数据 の 返回")
public class RoleShowResp implements MsgOutput {


    @NoteField("玩家饰品数据")
    public RoleShow data;

    public RoleShowResp() {
    }

    public RoleShowResp(Role role) {
        data = role.getShow();
    }


    @Override
    public MsgConfig conf() {
        return MsgIdBBlog.SHOW_RESP;
    }
}
